#!/usr/bin/python
# -*- coding: UTF-8 -*-
 
from tkinter import *
import tkinter.messagebox as msg

root = Tk()                     # 创建窗口对象的背景色
                                # 创建两个列表
  
label = Label(root, text = "Label")
label.grid(column = 5, row = 8)

button1 = Button(root, text = "Button1")
button1.grid(column = 5, row = 1)  

button2 = Button(root, text = "Button2")
button2.grid(column = 5, row = 5)   

button3 = Button(root, text = "Button3")
button3.grid(column = 5, row = 7) 

root.mainloop()                 # 进入消息循环